projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86fef6a
)
; Fix recent byte-compiler warnings in dnd.el
author
Basil L. Contovounesios
<contovob@tcd.ie>
Thu, 7 May 2020 00:52:50 +0000
(
01:52
+0100)
committer
Basil L. Contovounesios
<contovob@tcd.ie>
Thu, 7 May 2020 00:54:43 +0000
(
01:54
+0100)
* lisp/dnd.el (dnd-handle-one-url): Don't require browse-url twice
in the same function. Declare non-autoloaded browse-url-handlers to
silence byte-compiler.
lisp/dnd.el
patch
|
blob
|
history
diff --git
a/lisp/dnd.el
b/lisp/dnd.el
index 2f7b16c56edd68a2a2b8b83b281b91b3009b5eb7..b649e725f256a93016dc181478b03a8a1554b84b 100644
(file)
--- a/
lisp/dnd.el
+++ b/
lisp/dnd.el
@@
-102,7
+102,7
@@
is what has been dropped. Returns ACTION."
(throw 'done t)))
nil)
(catch 'done
- (
require 'browse-url) ;; browse-url-handlers is n
ot autoloaded.
+ (
defvar browse-url-handlers) ;; N
ot autoloaded.
(dolist (bf (append
;; The alist choice of browse-url-browser-function
;; is deprecated since 28.1, so the (unless ...)